package com.Chap2;
import java.io.*;

public class P81 {
    public static  void main(String[] args) throws Exception{
        File file = new File("E:" + File.separator + "muyan" + File.separator + "vip" + File.separator + "yootk.txt");
        if (!file.getParentFile().exists()){
            file.getParentFile().mkdirs();
        }
        try (Writer out = new FileWriter(file)){
            out.write("沐言科技：www.yootk.com\n");
            out.append("李兴华高薪就业编程培训营：edu.yootk.com");
        }catch (Exception e) {}
    }
}
